package com.wk.pms.service.impl;

import com.wk.pms.entity.Category;
import com.wk.pms.mapper.CategoryMapper;
import com.wk.pms.service.CategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wk.pms.vo.CategoryVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> implements CategoryService {

    @Override
    public List<CategoryVO> queryByPid(Long pid) {
        return baseMapper.queryByPid(pid);
    }
}
